package ar.com.personalTravellers.beans;

import com.angel.arquitectura.model.user.User;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

@Entity
public class SGUser extends User{

    @ManyToOne(optional = true, fetch = FetchType.EAGER)
    private Country country;

    public SGUser() {
        super();
    }

    public Country getCountry() {
        return country;
    }

    public void setCountry(Country country) {
        this.country = country;
    }
}